package com.bxy.dzsc.domain;

import java.util.Date;

public class Messages {
    private Integer id;
    private Integer uid;
    private String username;
    private String message;
    private Date DateTime;

    public Messages(Integer id, Integer uid, String username, String message, Date dateTime) {
        this.id = id;
        this.uid = uid;
        this.username = username;
        this.message = message;
        DateTime = dateTime;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Messages(Integer uid, String username, String message, Date dateTime) {
        this.uid = uid;
        this.username = username;
        this.message = message;
        DateTime = dateTime;
    }

    public Messages(Integer uid, String message, Date dateTime) {
        this.uid = uid;
        this.message = message;
        DateTime = dateTime;
    }

    public Messages(Integer id, Integer uid, String message, Date dateTime) {
        this.id = id;
        this.uid = uid;
        this.message = message;
        DateTime = dateTime;
    }

    public Messages() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Date getDateTime() {
        return DateTime;
    }

    public void setDateTime(Date dateTime) {
        DateTime = dateTime;
    }
}
